#!/usr/bin/env node
/* Test the case where import should be grouped using default grouping. */

import {bar} from '../bar';

import {foo, afoo} from 'foo';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Imports from this module are not allowed in this group.  The expected groups (in order) are: libraries, parent directories, current directory.]
        ~~~~~~~~~              [Named imports must be alphabetized.]

import './baz'; // required
import './baa';
~~~~~~~~~~~~~~~ [Import sources within a group must be alphabetized.]

import './caa';

import x = require('y');

export class Test {}
